#include "door.h"
#include <stdio.h>
#include <unistd.h>
int main(){
    Door door;
    int res = door.Connect("protocol=TCP,ipaddress=192.168.12.154,port=4370,timeout=4000,passwd=");
   
    
    printf("--------error---------%d-----",res);
    usleep(1000000000);
    //long lres = Connect("protocol=TCP,ipaddress=192.168.12.154,port=4370,timeout=4000,passwd=");
    //printf("-----------------%d------",lres);
    return 0;
}